﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrators.master" AutoEventWireup="true" CodeFile="AdminReg.aspx.cs" Inherits="AdminReg1" Theme="TextBox" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <span class="tr">
                    <center>
                        挂 号 管 理
                    </center>
                </span>
                <center>
                    选择日期：
                    <asp:TextBox ID="TxtDate" runat="server" Width="80px" Height="18px" onclick="WdatePicker({el:this})" autocomplete="off" OnTextChanged="TextBox1_TextChanged" AutoPostBack="True"></asp:TextBox>
                    &nbsp;<asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">全部</asp:LinkButton>
                </center>
                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
        AutoGenerateColumns="False" CellPadding="4" CellSpacing="3" 
        DataKeyNames="RegID" ForeColor="#333333" GridLines="None" 
        HorizontalAlign="Center" OnRowDataBound="GridView1_RowDataBound" PageSize="20" 
        onpageindexchanging="GridView1_PageIndexChanging">
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:BoundField DataField="RegID" HeaderText="挂号编号" InsertVisible="False" ReadOnly="True" SortExpression="RegID" />
                        <asp:BoundField DataField="DocID" HeaderText="医生编号" SortExpression="DocID" />
                        <asp:BoundField DataField="DocName" HeaderText="医生姓名" SortExpression="DocName" />
                        <asp:BoundField DataField="DepName" HeaderText="科室" SortExpression="DepName" />
                        <asp:BoundField DataField="PatIDCard" HeaderText="患者身份证" SortExpression="PatIDCard" />
                        <asp:BoundField DataField="DauyDate" HeaderText="门诊日期" SortExpression="DauyDate" DataFormatString="{0:d}" />
                        <asp:BoundField DataField="VisTime" HeaderText="就诊时间" />
                        <asp:BoundField DataField="RegTime" HeaderText="挂号时间" SortExpression="RegTime" />
                        <asp:BoundField DataField="VisStatus" HeaderText="就诊状态" SortExpression="VisStatus" />
                    </Columns>
                    <EditRowStyle BackColor="#2461BF" />
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Right" />
                    <RowStyle BackColor="#EFF3FB" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <SortedAscendingCellStyle BackColor="#F5F7FB" />
                    <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                    <SortedDescendingCellStyle BackColor="#E9EBEF" />
                    <SortedDescendingHeaderStyle BackColor="#4870BE" />
                </asp:GridView>
</asp:Content>

